﻿using System;
using ManagedCuda;

namespace RayDen.MegaRay.GPU
{
    public class GpuContext : IDisposable
    {
        private CudaContext ctx;

        public GpuContext()
        {
            this.ctx = new CudaContext();
            
        }


        public void Dispose()
        {
            if (ctx != null)
            {
                ctx.Dispose();
            }
        }
    }
}